package org.jeecg.modules.yw.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.yw.entity.WorkerSta;
import org.jeecg.modules.yw.mapper.WorkerStaMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WorkerStaService extends ServiceImpl<WorkerStaMapper, WorkerSta> {

    public IPage<WorkerSta> pageInfo(Page<WorkerSta> page, String start, String end, String attendmonth, String[] areas) {
        return baseMapper.pageInfo(page, start,end, attendmonth,areas);
    }

    public List<WorkerSta> listInfo(String[] idss, String start, String end, String attendmonth, String[] areas) {
        List<WorkerSta> list = baseMapper.listInfo(idss,start,end,attendmonth,areas);
        return list;
    }

}
